package com.gm.mygmc.crm.security.service;

import com.gm.mygmc.crm.base.ResponseDTO;
import com.gm.mygmc.crm.security.dto.UserInfoDTO;

public interface IUserService {

	/**
	 * login
	 * @param userName
	 * @param password
	 * @return
	 */
	public ResponseDTO login(String userName, String password);
	
	/**
	 * register
	 * @param user
	 * @return
	 */
	public ResponseDTO register(UserInfoDTO user);
}
